.class final Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;
.super Lcom/burstly/lib/component/AbstractAdaptor;
.source "JumptapAdaptor.java"

# interfaces
.implements Lcom/burstly/lib/component/activitylauncher/IActivityLauncherSource;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyInterstitialJtAdWrapper;,
        Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;,
        Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$JumptapListener;
    }
.end annotation


# static fields
.field static final FULLSCREEN_INFO:Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo; = null

.field static final NETWORK_NAME:Ljava/lang/String; = "jumptap"

.field static final TAG:Ljava/lang/String;

.field static sJumptapAdaptor:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;


# instance fields
.field private final mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

.field mInterstitialView:Lcom/jumptap/adtag/JtAdInterstitial;

.field private mMLauncher:Lcom/burstly/lib/component/activitylauncher/ActivtyLauncher;


# direct methods
.method static constructor <clinit>()V
    .locals 3

    .prologue
    .line 56
    const-class v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->TAG:Ljava/lang/String;

    .line 66
    new-instance v0, Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo;

    const-string v1, "jumptap"

    const/4 v2, 0x1

    invoke-direct {v0, v1, v2}, Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo;-><init>(Ljava/lang/String;Z)V

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->FULLSCREEN_INFO:Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo;

    return-void
.end method

.method constructor <init>(Landroid/content/Context;Ljava/lang/String;)V
    .locals 2
    .parameter "context"
    .parameter "viewId"

    .prologue
    .line 551
    invoke-direct {p0, p1, p2}, Lcom/burstly/lib/component/AbstractAdaptor;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    .line 552
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    sget-object v1, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->TAG:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mTag:Ljava/lang/String;

    .line 553
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    invoke-direct {v0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;-><init>()V

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    .line 554
    new-instance v0, Lcom/burstly/lib/component/activitylauncher/ActivtyLauncher;

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/burstly/lib/component/activitylauncher/ActivtyLauncher;-><init>(Lcom/burstly/lib/component/activitylauncher/IActivityLauncherSource;Landroid/content/Context;)V

    const-string v1, "jumptap"

    invoke-virtual {v0, v1}, Lcom/burstly/lib/component/activitylauncher/ActivtyLauncher;->setNetworkName(Ljava/lang/String;)Lcom/burstly/lib/component/activitylauncher/ActivtyLauncher;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mMLauncher:Lcom/burstly/lib/component/activitylauncher/ActivtyLauncher;

    .line 555
    return-void
.end method

.method static synthetic access$000()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$100()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$1000()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$1100()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$1200()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$1300()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$1400()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$1500()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$1600()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$1700()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$1800()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$1900()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$200(Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;)Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;
    .locals 1
    .parameter "x0"

    .prologue
    .line 51
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    return-object v0
.end method

.method static synthetic access$2000()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$2100()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$2200()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$2300()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$2400()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$300()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$400()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$500()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$600()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$700()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$800()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method static synthetic access$900()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method private fixWindowVisibility(Lcom/jumptap/adtag/JtAdView;)V
    .locals 6
    .parameter "adView"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .prologue
    .line 626
    :try_start_0
    const-class v2, Lcom/jumptap/adtag/JtAdView;

    const-string v3, "isWindowVisible"

    invoke-virtual {v2, v3}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v1

    .line 627
    .local v1, visibility:Ljava/lang/reflect/Field;
    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Ljava/lang/reflect/Field;->setAccessible(Z)V

    .line 628
    sget-object v2, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {v1, p1, v2}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 635
    return-void

    .line 630
    .end local v1           #visibility:Ljava/lang/reflect/Field;
    :catch_0
    move-exception v0

    .line 631
    .local v0, e:Ljava/lang/Exception;
    sget-object v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mTag:Ljava/lang/String;

    const-string v4, "Could not change visibility of JtAdView.isWindowVisible field. Can not proceed this view. Fail."

    const/4 v5, 0x0

    new-array v5, v5, [Ljava/lang/Object;

    invoke-virtual {v2, v3, v4, v5}, Lcom/burstly/lib/util/LoggerExt;->logError(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 633
    throw v0
.end method

.method private getAd(Lcom/jumptap/adtag/JtAdView;)V
    .locals 6
    .parameter "view"

    .prologue
    const/4 v5, 0x0

    .line 569
    :try_start_0
    const-class v2, Lcom/jumptap/adtag/JtAdView;

    const-string v3, "loadUrlIfVisible"

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Class;

    invoke-virtual {v2, v3, v4}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    move-result-object v1

    .line 570
    .local v1, refresh:Ljava/lang/reflect/Method;
    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Ljava/lang/reflect/Method;->setAccessible(Z)V

    .line 571
    const/4 v2, 0x0

    new-array v2, v2, [Ljava/lang/Object;

    invoke-virtual {v1, p1, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 576
    .end local v1           #refresh:Ljava/lang/reflect/Method;
    :goto_0
    return-void

    .line 573
    :catch_0
    move-exception v0

    .line 574
    .local v0, e:Ljava/lang/Exception;
    sget-object v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->LOG:Lcom/burstly/lib/util/LoggerExt;

    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mTag:Ljava/lang/String;

    const-string v4, "Can not invoke or find \'loadUrlIfVisible\' in JtAdView class. Will fail by timeout."

    new-array v5, v5, [Ljava/lang/Object;

    invoke-virtual {v2, v3, v4, v5}, Lcom/burstly/lib/util/LoggerExt;->logError(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    goto :goto_0
.end method

.method private handleInterstitial()V
    .locals 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .prologue
    .line 641
    invoke-static {}, Lcom/jumptap/adtag/JtAdWidgetSettingsFactory;->createWidgetSettings()Lcom/jumptap/adtag/JtAdWidgetSettings;

    move-result-object v1

    .line 642
    .local v1, settings:Lcom/jumptap/adtag/JtAdWidgetSettings;
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    invoke-virtual {v2, v1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->configure(Lcom/jumptap/adtag/JtAdWidgetSettings;)V

    .line 643
    const/16 v2, 0x14

    invoke-virtual {v1, v2}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setInterstitialshowTime(I)V

    .line 644
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyInterstitialJtAdWrapper;

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v0, v2, v1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyInterstitialJtAdWrapper;-><init>(Landroid/content/Context;Lcom/jumptap/adtag/JtAdWidgetSettings;)V

    .line 645
    .local v0, interstitial:Lcom/jumptap/adtag/JtAdInterstitial;
    invoke-direct {p0, v0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->fixWindowVisibility(Lcom/jumptap/adtag/JtAdView;)V

    .line 646
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mInterstitialView:Lcom/jumptap/adtag/JtAdInterstitial;

    .line 647
    new-instance v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$JumptapListener;

    const/4 v3, 0x1

    invoke-direct {v2, p0, v3}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$JumptapListener;-><init>(Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;Z)V

    invoke-virtual {v0, v2}, Lcom/jumptap/adtag/JtAdInterstitial;->setAdViewListener(Lcom/jumptap/adtag/JtAdViewListener;)V

    .line 648
    invoke-direct {p0, v0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->getAd(Lcom/jumptap/adtag/JtAdView;)V

    .line 649
    return-void
.end method


# virtual methods
.method public beforeLaunch()V
    .locals 1

    .prologue
    .line 694
    sput-object p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->sJumptapAdaptor:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;

    .line 695
    const/4 v0, 0x1

    sput-boolean v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->sIsShowingNow:Z

    .line 696
    return-void
.end method

.method protected checkParameters(Ljava/util/Map;)V
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/IllegalArgumentException;
        }
    .end annotation

    .prologue
    .line 559
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    invoke-virtual {v0, p1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->initConfigurator(Ljava/util/Map;)V

    .line 560
    return-void
.end method

.method public destroy()V
    .locals 1

    .prologue
    const/4 v0, 0x0

    .line 687
    invoke-super {p0}, Lcom/burstly/lib/component/AbstractAdaptor;->destroy()V

    .line 688
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mInterstitialView:Lcom/jumptap/adtag/JtAdInterstitial;

    .line 689
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mMLauncher:Lcom/burstly/lib/component/activitylauncher/ActivtyLauncher;

    .line 690
    return-void
.end method

.method protected doGetNewAd()Landroid/view/View;
    .locals 7

    .prologue
    .line 590
    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->setPrecacheInterstitial(Z)V

    .line 592
    :try_start_0
    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    invoke-virtual {v3}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->isInterstitial()Z

    move-result v3

    if-eqz v3, :cond_0

    .line 593
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->handleInterstitial()V

    .line 606
    :goto_0
    const/4 v0, 0x0

    :goto_1
    return-object v0

    .line 595
    :cond_0
    invoke-static {}, Lcom/jumptap/adtag/JtAdWidgetSettingsFactory;->createWidgetSettings()Lcom/jumptap/adtag/JtAdWidgetSettings;

    move-result-object v2

    .line 596
    .local v2, settings:Lcom/jumptap/adtag/JtAdWidgetSettings;
    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    invoke-virtual {v3, v2}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->configure(Lcom/jumptap/adtag/JtAdWidgetSettings;)V

    .line 597
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v0, v3, v2}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;-><init>(Landroid/content/Context;Lcom/jumptap/adtag/JtAdWidgetSettings;)V

    .line 598
    .local v0, adView:Lcom/jumptap/adtag/JtAdView;
    new-instance v3, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$JumptapListener;

    invoke-direct {v3, p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$JumptapListener;-><init>(Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;)V

    invoke-virtual {v0, v3}, Lcom/jumptap/adtag/JtAdView;->setAdViewListener(Lcom/jumptap/adtag/JtAdViewListener;)V

    .line 599
    invoke-direct {p0, v0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->fixWindowVisibility(Lcom/jumptap/adtag/JtAdView;)V

    .line 600
    invoke-direct {p0, v0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->getAd(Lcom/jumptap/adtag/JtAdView;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    .line 603
    .end local v0           #adView:Lcom/jumptap/adtag/JtAdView;
    .end local v2           #settings:Lcom/jumptap/adtag/JtAdWidgetSettings;
    :catch_0
    move-exception v1

    .line 604
    .local v1, e:Ljava/lang/Exception;
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->getAdaptorListener()Lcom/burstly/lib/component/IBurstlyAdaptorListener;

    move-result-object v3

    const-string v4, "jumptap"

    iget-object v5, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    invoke-virtual {v5}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->isInterstitial()Z

    move-result v5

    invoke-static {v1}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v6

    invoke-interface {v3, v4, v5, v6}, Lcom/burstly/lib/component/IBurstlyAdaptorListener;->failedToLoad(Ljava/lang/String;ZLjava/lang/String;)V

    goto :goto_0
.end method

.method public getAdType()Lcom/burstly/lib/component/IBurstlyAdaptor$BurstlyAdType;
    .locals 1

    .prologue
    .line 580
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    invoke-virtual {v0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->isInterstitial()Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/burstly/lib/component/IBurstlyAdaptor$BurstlyAdType;->INTERSTITIAL_AD_TYPE:Lcom/burstly/lib/component/IBurstlyAdaptor$BurstlyAdType;

    :goto_0
    return-object v0

    :cond_0
    sget-object v0, Lcom/burstly/lib/component/IBurstlyAdaptor$BurstlyAdType;->BANNER_AD_TYPE:Lcom/burstly/lib/component/IBurstlyAdaptor$BurstlyAdType;

    goto :goto_0
.end method

.method public getIntent()Landroid/content/Intent;
    .locals 3

    .prologue
    .line 700
    new-instance v0, Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    return-object v0
.end method

.method public getNetworkName()Ljava/lang/String;
    .locals 1

    .prologue
    .line 585
    const-string v0, "jumptap"

    return-object v0
.end method

.method public isAllowedToLaunch()Z
    .locals 1

    .prologue
    .line 705
    sget-boolean v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->sIsShowingNow:Z

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public onActivityNotFound(Ljava/lang/String;)V
    .locals 1
    .parameter "className"

    .prologue
    .line 719
    const/4 v0, 0x0

    sput-boolean v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->sIsShowingNow:Z

    .line 720
    const/4 v0, 0x0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->sJumptapAdaptor:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;

    .line 721
    return-void
.end method

.method public onFailToLaunch(Ljava/lang/String;)V
    .locals 3
    .parameter "cause"

    .prologue
    .line 710
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->getAdaptorListener()Lcom/burstly/lib/component/IBurstlyAdaptorListener;

    move-result-object v0

    const-string v1, "jumptap"

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    invoke-virtual {v2}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->isInterstitial()Z

    move-result v2

    invoke-interface {v0, v1, v2, p1}, Lcom/burstly/lib/component/IBurstlyAdaptorListener;->failedToLoad(Ljava/lang/String;ZLjava/lang/String;)V

    .line 711
    return-void
.end method

.method public onSuccesToLaunch()V
    .locals 0

    .prologue
    .line 715
    return-void
.end method

.method public precacheAd()Landroid/view/View;
    .locals 1

    .prologue
    .line 677
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->getNewAd()Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public precacheInterstitialAd()V
    .locals 5

    .prologue
    const/4 v4, 0x1

    .line 653
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mConfigurator:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;

    invoke-virtual {v2, v4}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->setPrecacheInterstitial(Z)V

    .line 654
    const-string v0, ""

    .line 656
    .local v0, cause:Ljava/lang/String;
    :try_start_0
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->handleInterstitial()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 663
    :goto_0
    return-void

    .line 659
    :catch_0
    move-exception v1

    .line 660
    .local v1, e:Ljava/lang/Exception;
    invoke-static {v1}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v0

    .line 662
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->getAdaptorListener()Lcom/burstly/lib/component/IBurstlyAdaptorListener;

    move-result-object v2

    const-string v3, "jumptap"

    invoke-interface {v2, v3, v4, v0}, Lcom/burstly/lib/component/IBurstlyAdaptorListener;->failedToLoad(Ljava/lang/String;ZLjava/lang/String;)V

    goto :goto_0
.end method

.method showActivity()V
    .locals 1

    .prologue
    .line 613
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mInterstitialView:Lcom/jumptap/adtag/JtAdInterstitial;

    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->setHardwareAcceleration(Landroid/view/View;)V

    .line 614
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mMLauncher:Lcom/burstly/lib/component/activitylauncher/ActivtyLauncher;

    invoke-virtual {v0}, Lcom/burstly/lib/component/activitylauncher/ActivtyLauncher;->launchActivity()V

    .line 615
    return-void
.end method

.method public showPrecachedInterstitialAd()V
    .locals 3

    .prologue
    .line 667
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mInterstitialView:Lcom/jumptap/adtag/JtAdInterstitial;

    if-eqz v1, :cond_0

    .line 668
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->getAdaptorListener()Lcom/burstly/lib/component/IBurstlyAdaptorListener;

    move-result-object v0

    .line 669
    .local v0, adaptorListener:Lcom/burstly/lib/component/IBurstlyAdaptorListener;
    const-string v1, "jumptap"

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Lcom/burstly/lib/component/IBurstlyAdaptorListener;->didLoad(Ljava/lang/String;Z)V

    .line 670
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->FULLSCREEN_INFO:Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo;

    invoke-interface {v0, v1}, Lcom/burstly/lib/component/IBurstlyAdaptorListener;->shownFullscreen(Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo;)V

    .line 671
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->showActivity()V

    .line 673
    .end local v0           #adaptorListener:Lcom/burstly/lib/component/IBurstlyAdaptorListener;
    :cond_0
    return-void
.end method

.method public supports(Ljava/lang/String;)Z
    .locals 1
    .parameter "action"

    .prologue
    .line 682
    const/4 v0, 0x1

    return v0
.end method
